package cn.bisoft.java.service.ext.httpclient.dao.impl;

import java.util.List;

import cn.bisoft.java.bean.entity.AnteFrontTransType;
import cn.bisoft.java.service.dao.BaseDao;
import cn.bisoft.java.service.ext.httpclient.dao.TransTypeDao;

public class TransTypeDaoImpl extends BaseDao implements TransTypeDao
{
	public List<AnteFrontTransType> getHttpRequestSupportTransType()
	{
		String sql = "SELECT * FROM AnteFrontTransType WHERE sponor = 91";
		List<AnteFrontTransType> list = this.findEntityBySql(AnteFrontTransType.class, sql);
		return list;
	}

	public List<AnteFrontTransType> getNotifyResponseSupportTransType()
	{
		String sql = "SELECT * FROM AnteFrontTransType WHERE sponor = 12";
		List<AnteFrontTransType> list = this.findEntityBySql(AnteFrontTransType.class, sql);
		return list;
	}

}
